import {IRouteProps} from "../../interface/app";
import React from "react";
const Login = React.lazy(() => import('component/Login'));
const CheckLogin= React.lazy(()=>import('component/CheckLogin'))


const routes:IRouteProps[]=[
    { key: 'login', path: "/login", component: Login, exact: true },
    { key: 'main', path: "/", component: CheckLogin, exact: false },
];

export  {routes}
